package com.sell.utils;

import java.util.Random;

/**
 * @author: lichujun
 * @date: 2018-08-15
 */
public class KeyUtil {
    public static synchronized String genUniqueKey() {
        Random random = new Random();
        Integer randomNumber = random.nextInt(900000) + 100000;
        return System.currentTimeMillis() + String.valueOf(randomNumber);
    }
}
